TEMPLATE = app

HEADERS += core/clientthread.h \
core/torrentmanager.h \
core/trackerserver.h \
dblayer/announcehandler.h \
dblayer/connection.h \
dblayer/dbfactory.h \
dblayer/scrapehandler.h \
dblayer/trackerdb.h \
exceptions/exception.h \
exceptions/exceptionlogger.h \
exceptions/exceptionmanager.h \
exceptions/exhandler.h \
exceptions/exlogobserver.h \
globals/globals.h \
globals/log.h \
utilities/bencoding/bdecoder.h \
utilities/bencoding/bdictnode.h \
utilities/bencoding/bencoder.h \
utilities/bencoding/blistnode.h \
utilities/bencoding/bnode.h \
utilities/bencoding/bvaluenode.h \
utilities/bencoding/decodingexception.h \
utilities/messaging/announcerequest.h \
utilities/messaging/announceresponse.h \
utilities/messaging/request.h \
utilities/messaging/requesthandler.h \
utilities/messaging/response.h \
utilities/messaging/standardmessages.h \
utilities/utils/sha1hashgen.h \
utilities/utils/sha1hash.h \
utilities/bencoding/bencoding.h \
exceptions/exceptions.h \
exceptions/dbexception.h \
globals/exceptionhandler.h \
globals/logobserver.h \
gui/mainwindow.h \
gui/logwidget.h \
gui/menuwidget.h \
gui/centralview.h \
exceptions/torrentexistsexception.h \
gui/torrentdialog.h \
gui/userdialog.h \
utilities/interfaces/sqlobjectsmodel.h \
dblayer/mysql/mysqlannouncehandler.h \
dblayer/mysql/mysqlfactory.h \
dblayer/mysql/mysqltorrents.h \
dblayer/mysql/mysqlusers.h \
utilities/interfaces/model.h \
utilities/interfaces/modeltorrent.h \
dblayer/mysql/mysqlmodeltorrent.h \
utilities/interfaces/modeluser.h \
dblayer/mysql/mysqlmodeluser.h \
gui/exporttorrentdialog.h \
exceptions/invalidannounceurlexception.h \
exceptions/unknownuserexception.h \
gui/torrentpropertiesdialog.h \
gui/userpropertiesdialog.h \
utilities/utils/functions.h \
gui/aboutdialog.h \
gui/settingswidget.h
SOURCES += core/clientthread.cpp \
core/torrentmanager.cpp \
core/trackerserver.cpp \
dblayer/announcehandler.cpp \
dblayer/dbfactory.cpp \
dblayer/scrapehandler.cpp \
dblayer/trackerdb.cpp \
exceptions/exception.cpp \
exceptions/exceptionlogger.cpp \
exceptions/exceptionmanager.cpp \
exceptions/exhandler.cpp \
exceptions/exlogobserver.cpp \
globals/globals.cpp \
globals/log.cpp \
gui/main.cpp \
utilities/bencoding/bdecoder.cpp \
utilities/bencoding/bdictnode.cpp \
utilities/bencoding/bencoder.cpp \
utilities/bencoding/blistnode.cpp \
utilities/bencoding/bnode.cpp \
utilities/bencoding/bvaluenode.cpp \
utilities/bencoding/decodingexception.cpp \
utilities/messaging/announcerequest.cpp \
utilities/messaging/announceresponse.cpp \
utilities/messaging/request.cpp \
utilities/messaging/requesthandler.cpp \
utilities/messaging/response.cpp \
utilities/messaging/standardmessages.cpp \
utilities/utils/sha1hash.cpp \
utilities/utils/sha1hashgen.cpp \
exceptions/dbexception.cpp \
globals/exceptionhandler.cpp \
globals/logobserver.cpp \
gui/mainwindow.cpp \
gui/logwidget.cpp \
gui/menuwidget.cpp \
gui/centralview.cpp \
exceptions/torrentexistsexception.cpp \
gui/torrentdialog.cpp \
gui/userdialog.cpp \
utilities/interfaces/sqlobjectsmodel.cpp \
dblayer/mysql/mysqlannouncehandler.cpp \
dblayer/mysql/mysqlfactory.cpp \
dblayer/mysql/mysqltorrents.cpp \
dblayer/mysql/mysqlusers.cpp \
utilities/interfaces/model.cpp \
utilities/interfaces/modeltorrent.cpp \
dblayer/mysql/mysqlmodeltorrent.cpp \
utilities/interfaces/modeluser.cpp \
dblayer/mysql/mysqlmodeluser.cpp \
gui/exporttorrentdialog.cpp \
exceptions/invalidannounceurlexception.cpp \
exceptions/unknownuserexception.cpp \
gui/torrentpropertiesdialog.cpp \
gui/userpropertiesdialog.cpp \
utilities/utils/functions.cpp \
gui/aboutdialog.cpp \
gui/settingswidget.cpp
CONFIG += debug \
exceptions \
qt \
thread \
warn_on
QT += core \
gui \
sql \
network
DESTDIR = ../bin

OBJECTS_DIR = ../build

UI_DIR = ../build

MOC_DIR = ../build

FORMS += gui/uimainwindow.ui \
gui/uicentralwidget.ui \
gui/uinewuser.ui \
gui/uinewtorrent.ui \
gui/uiexporttorrent.ui \
gui/uitorrentproperties.ui \
gui/uiuserproperties.ui \
gui/uiabout.ui \
gui/uisettings.ui
RESOURCES += gui/resource.qrc

DISTFILES += Database.sql
INCLUDEPATH += utilities/interfaces \
utilities/utils \
utilities/messaging \
utilities/bencoding \
globals \
exceptions \
dblayer/mysql \
dblayer \
core
